﻿using BCCommon.TMS.FreightEnums;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.HorsemanFreightExtention
{
    /// <summary>
    /// 骑手运费扩展
    /// </summary>
    public class HorsemanFreightExtentionEntity
    {
        /// <summary>
        /// 骑手运费扩展Id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long HorsemanFreightExtentionId { get; set; }
        /// <summary>
        /// 基础骑手运费配置
        /// </summary>
        public bool IsBase { get; set; }       
        /// <summary>
        /// 区县Id
        /// </summary>
        public long? CountyId { get; set; }
        /// <summary>
        /// 区/县编码
        /// </summary>
        public string CountyCode { get; set; }
        /// <summary>
        /// 跑腿阶梯运费类型
        /// </summary>
        public string FreightExtentionType { get; set; }
        /// <summary>
        /// 续程最大距离
        /// </summary>
        public int? MaxEachDistance { get; set; }
        /// <summary>
        /// 续程价格
        /// </summary>
        public decimal? EachDistancePrice { get; set; }
        /// <summary>
        /// 夜间续程价格
        /// </summary>
        public decimal? NightEachDistancePrice { get; set; }
        /// <summary>
        /// 最大续重
        /// </summary>
        public decimal? MaxEachWeight { get; set; }
        /// <summary>
        /// 续重价格
        /// </summary>
        public decimal? EachWeightPrice { get; set; }
        /// <summary>
        /// 夜间续重价格
        /// </summary>
        public decimal? NightEachWeightPrice { get; set; }

    }
}
